package com.aaa.behind.service.impl;

import com.aaa.behind.dao.EExamineMapper;
import com.aaa.behind.service.IEExamineService;
import com.aaa.entity.BBusinessInfo;
import com.aaa.entity.EExamine;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 审查表 服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-01-13
 */
@Service
public class EExamineServiceImpl extends ServiceImpl<EExamineMapper, EExamine> implements IEExamineService {

    @Autowired
    private EExamineMapper eExamineMapper;
    @Override
    public IPage selectAll(IPage page, EExamine eExamine, String startTime, String endTime) {
        IPage iPage = eExamineMapper.selectAll(page, eExamine, startTime, endTime);
        return iPage;
    }

    @Override
    public List<BBusinessInfo> selectBusiness() {
        return eExamineMapper.selectBusiness();
    }
}
